package com.zhangzhan.gulimallware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhangzhan.gulimallcommcon.util.PageUtils;
import com.zhangzhan.gulimallware.entity.PurchaseEntity;
import com.zhangzhan.gulimallware.vos.PurchaseDoneVo;
import com.zhangzhan.gulimallware.vos.PurchaseMergeVo;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author zhangzhan
 * @email sunlightcs@gmail.com
 * @date 2024-06-18 23:32:09
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageUnreceiveList(Map<String, Object> params);

    void merge(PurchaseMergeVo vo);

    void received(List<Long> purchaseIds);

    void done(PurchaseDoneVo vo);
}

